 <div class="mws-panel grid_8 mws-collapsible">
                	<div class="mws-panel-header">
                    	<span><i class="icon-table"></i>Tous les utilisateurs</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                        <table class="mws-table mws-datatable">
                            <thead>
                                <tr>
                                    <th>Nom</th>
                                    <th>Prenom</th>
                                    <th>Login</th>
                                    <th>Mail</th>
                                    <th>Role</th>
                                    <th>Date de creation</th>
                                    <th></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php    foreach ($allusers as $row){?>
                                <tr>
                                   
                                  
                                   <?php
                                      echo   "<td>". $row['first_name']."</td>";
                                      echo   "<td>".$row['second_name']."</td>";
                                      echo   "<td>".$row['username']."</td>";
                                      echo   "<td>".$row['mail']."</td>";
                                        echo   "<td>".$row['role']."</td>";
                                        echo   "<td>".$row['created_at']."</td>";
                                    ?>
     
   

                                   
                                    <td>
                                        <span class="btn-group">
                                           
                                            <a href="<?php echo base_url() ?>Users/update" class="btn btn-small"><i class="icon-pencil"></i></a>
                                            <a href="<?php echo base_url() ?>Users/delete" class="btn btn-small"><i class="icon-trash"></i></a>
                                        </span>
                                    </td>
                                </tr>
                                            
                                <?php }?>
                            </tbody>
                        </table>
                    </div>
                </div>
                
